
import { resolve } from 'path'

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    vueJsx(),
  ],
  resolve: {
    alias: [
      {
        find: '@',
        replacement: resolve('/src')
      },
      {
        find: 'SRC',
        replacement: resolve('/src')
      },
    ]
  },
})
